package com.example.academicsystem.server.service;

import com.example.academicsystem.pojo.dto.*;
import com.example.academicsystem.result.PageResult;

public interface AdminService {
    PageResult studentPageQuery(StudentDto studentDto);

    void studentDelteById(String studentId);

    void courseStudentDeleteById(String studentId);

    void studentInsert(StudentInsertDto studentInsertDto);

    void studentUpdateById(StudentUpdateDto studentUpdateDto);

    PageResult teacherPageQuery(TeacherDto teacherDto);

    void teacherInsert(TeacherInsertDto teacherInsertDto);

    void teacherDeleteById(String teacherId);

    void teacherUpdateById(TeacherUpdateDto teacherUpdateDto);

    void courseTeacherDeleteById(String teacherId);

    PageResult gradePageQuery(GradeDto gradeDto);

    void gradeInsert(GradeInsertDto gradeInsertDto);

    void gradeDelete(GradeDeleteDto gradeDeleteDto);

    void gradeUpdate(GradeUpdateDto gradeUpdateDto);

    void courseInsert(CourseInsertDto courseInsertDto);

    void courseDelete(CourseDeleteDto courseDeleteDto);

    PageResult coursePageQuery(AdminCourseDto adminCourseDto);

    void courseUpdate(CourseUpdateDto courseUpdateDto);

    void classInsert(Integer id);
}
